@include('home.public.header')
			<!-- HEADING-BANNER START -->
			<div class="heading-banner-area overlay-bg">
				<div class="container">
					<div class="row">
						<div class="col-md-12">
							<div class="heading-banner">
								<div class="heading-banner-title">
									<h2>购物车</h2>
								</div>
								<div class="breadcumbs pb-15">
									<ul>
										<li><a href="/">首页</a></li>
										<li>购物车</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- HEADING-BANNER END -->
			<!-- SHOPPING-CART-AREA START -->
			<div class="shopping-cart-area  pt-80 pb-80">
				<div class="container">	
					<div class="row">
						<div class="col-md-12 col-sm-12 col-xs-12">
							<div class="shopping-cart">
								<!-- Nav tabs -->
								<ul class="cart-page-menu row clearfix mb-30">
									<li class="active"><a href="shopcart" data-toggle="">购物车</a></li>
									<li><a href="/wishlist" data-toggle="">心愿单</a></li>
									<li><a href="/checkout" data-toggle="">核实信息</a></li>
									<li><a href="/order" data-toggle="">订单</a></li>
								</ul>

								<!-- Tab panes -->
								<div class="tab-content">
									<!-- shopping-cart start -->
									<div class="tab-pane active" id="shopping-cart">
										<form action="#">
											<div class="shop-cart-table">
												<div class="table-content table-responsive">
													<table>
														<thead>
															<tr>
																<th class="product-thumbnail">产品</th>
																<th class="product-price">单价</th>
																<th class="product-quantity">数量</th>
																<th class="product-subtotal">总价</th>
																<th class="product-remove">操作</th>
															</tr>
														</thead>
														<tbody>
															@foreach($shopcart as $v)
																<tr>
																	<td class="product-thumbnail  text-left">
																		<!-- Single-product start -->
																		<div class="single-product">
																			<div class="product-img">
																				<a href="single-product.html"><img src="/uploads/{{$v->main_img}}" alt="" /></a>
																			</div>
																			<div class="product-info">
																				<h4 class="post-title"><a class="text-light-black" href="#">{{$v->good_name}}</a></h4>
																				<p class="mb-0">颜色 :  {{$v->color_name}}</p>
																				<p class="mb-0">尺寸 :     {{$v->good_size}}</p>
																			</div>
																		</div>
																		<!-- Single-product end -->												
																	</td>
																	<td class="product-price">${{$v->good_price}}</td>
																	<td class="product-quantity">
																		{{$v->number}}
																		<!-- <div class="cart-plus-minus">
																			<input type="text" value="02" name="qtybutton" class="cart-plus-minus-box">
																		</div> -->
																	</td>
																	<td class="product-subtotal">${{$v->good_price1}}</td>
																	<td class="product-remove">
																		<a href="/shopcart/del/{{$v->id}}"><i class="zmdi zmdi-close"></i></a>
																	</td>
																</tr>
															@endforeach
														</tbody>
													</table>
												</div>
											</div>
											<div class="row">
												<!-- <div class="col-md-6 col-sm-6 col-xs-12">
													<div class="customer-login mt-30">
														<h4 class="title-1 title-border text-uppercase">coupon discount</h4>
														<p class="text-gray">Enter your coupon code if you have one!</p>
														<input type="text" placeholder="Enter your code here.">
														<button type="submit" data-text="apply coupon" class="button-one submit-button mt-15">apply coupon</button>
													</div>
												</div> -->
												<div class="col-md-12 col-sm-12 col-xs-12">
													<div class="customer-login payment-details mt-30">
														<h4 class="title-1 title-border text-uppercase">付款详情</h4>
														<table>
															<tbody>
																@foreach($shopcart as $v)
																	<tr>
																		<td class="text-left">{{$v->good_name}}</td>
																		<td class="text-right">${{$v->good_price1}}</td>
																	</tr>
																@endforeach
																<tr>
																	<td class="text-left">订单总价</td>
																	<td class="text-right">${{$total}}</td>
																</tr>
															</tbody>
														</table>
													</div>
												</div>
											</div>
											<div class="row">
												<div class="col-md-12">
													<div class="customer-login mt-30">
														<a href="/checkout" type="submit" data-text="去下单" class="button-one submit-button mt-15">去下单</a>
													</div>											
												</div>
											</div>
										</form>		
									</div>
									<!-- shopping-cart end -->
								</div>

							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- SHOPPING-CART-AREA END -->
			@include("home.public.footer")